package com.beeantec.jnrerc.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author anthony
 * @since 2022-01-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("job")
public class Job extends Model<Job> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 岗位Id
     */
    private Integer jobId;

    /**
     * 部门id
     */
    private Integer depId;

    private String jobName;


    public static final String JOB_ID = "job_id";

    public static final String DEP_ID = "dep_id";

    public static final String JOB_NAME = "job_name";


    public static final String ID = "id";

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
